package com.qiyu.tech.im.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.qiyu.tech.im.entity.ChatListRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

/**
 * @Author linhao
 * @Date created in 3:15 下午 2021/4/13
 */
@Mapper
public interface ChatListMapper extends BaseMapper<ChatListRecord> {

    @Update("update t_chat_list_record set show_status=#{showStatus} where chatLog_no=#{chatLogNo} and member_Id=#{memberId}")
    Integer updateMemberLogInVisitable(String chatLogNo,Long memberId,short showStatus);
}
